Platform Explorer / Nuxeo Platform 2023.20

Extension point store

Documentation

Allow to declare a transient store inside Nuxeo. The store is identified by a name and the descriptor has several parameters :

    <store name="microStore">
        <!--  a store that can not store anything  -->
        <targetMaxSizeMB>0</targetMaxSizeMB>
        <absoluteMaxSizeMB>0</absoluteMaxSizeMB>
    </store>

The store tag supports 2 attributes:

  • name, that is used to identify the store
  • class, that should reference an implementation of the TransientStoreProvider interface (will default to SimpleTransientStore))

Nested configuration elements are :

  • targetMaxSizeMB : target size that ideally should never be exceeded
  • absoluteMaxSizeMB : size that must never be exceeded
  • firstLevelTTL : TTL in minutes of the first level cache
  • secondLevelTTL : TTL in minutes of the first level cache

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.transientstore.api.TransientStoreConfig

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.